<%--
  Created by IntelliJ IDEA.
  User: XiaoQiAng
  Date: 2015/11/9
  Time: 14:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
  String path = request.getContextPath();
  String basePath = request.getScheme() + "://"
          + request.getServerName() + ":" + request.getServerPort()
          + path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <base href="<%=basePath%>">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>登录</title>
  <link href="jsp/css/style.css" rel="stylesheet" type="text/css" />
  <link href="jsp/css/content.css" rel="stylesheet" type="text/css" />
</head>

<body class="login_bg">
<form action="loginServlet" method="post">
<div class="login_layout">

  <div class="login_left">
    <div class="login_left_t"></div>
    <div class="login_left_i"></div>
  </div>

  <div class="login_right">

    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="logintab">
      <tr>
        <td class="align-r" width="14%">用户名</td>
        <td><input type="text" name="username" class="input_01" /></td>
        <td>${err.username}</td>
      </tr>

      <tr>
        <td class="align-r">密码</td>
        <td><input type="password" name="password" class="input_01" /></td>
        <td>${err.password}</td>
      </tr>

      <tr>
        <td>&nbsp;</td>
        <td><br />
          <input type="submit" name="login" class="button_login" value="登录" /></td>
        <td>${err.login}</td>
      </tr>

    </table>

  </div>

</div>
</form>
</body>

</html>

